home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Libris Britannia 4
/
science library(b).zip
/
science library(b)
/
COMMUNIC
/
H191.ZIP
/
CA29-3.EXE
/
SCRIPTS.DOC
< prev
next >
Wrap
Text File
|
1992-11-30
|
15KB
|
398 lines
-------------------------------------------------------------------------------
921118 COM-AND Scripts Page 1
-------------------------------------------------------------------------------
Included in CA29-3.ZIP (the version 2.9 release of COM-AND) are:
-------------------------------------------------------------------------------
ALARM.CMD
ALARM is pop-up window script that sets COM-AND's alarm tune from one of
several selections. It also demonstrates the steps to take to customize
your own alarm.
ANSI.CMD
ANSI.HLP (also a script)
ANSI enables ANSI display emulation, AND creates enables a keyboard
remap emulating ANSI X3.64 keyboard keys. Note that the file COM-AND.RMP
is replaced. REMAPS.TXT contains the source for the remap. ANSI.HLP
replaces the F10 help (if ANSI.HLP is installed).
BBS.CMD
BBS.SRC
BBS.DOC
BBMAINT.CMD (New) Maintenance script for the BBS
BBMAINT1.CMD (New) BBMAINT extension script (users)
BBMAINT2.CMD (New) BBMAINT extension script (files)
BBMAINT3.CMD (New) BBMAINT extension script (bulletins)
BBMAINT4.CMD (New) BBMAINT extension script (mail)
BBSETUP.CMD (New) Setup script for the BBS
BBS.CMD is a full fledged bulletin board script, with mail (public and
private), file area, and bulletins. Run the SETUP script before use.
BBS.SRC is the source with comments. BBS.CMD is the script stripped of
comments. BBS.DOC documents the use of BBS, BBMAINT, and BBSETUP.
BIX.CMD
BIX is a simple script to dial the BIX service (through TYMNET, directory
entry 9), and initiate connection. [See note below on autologon.]
BREAKOUT.CMD
BREAKOUT is a demonstration of the script language. It plays a simple
'breakout' style game. Paddle control is through the cursor keys or a
mouse (if supported).
CIS.CMD
CIS is a simple script to dial the CIS service (using dialing directory
entry 3), and initiate connection. [See the note below on autologon.]
-------------------------------------------------------------------------------
921118 COM-AND Scripts Page 2
-------------------------------------------------------------------------------
CONALARM.CMD
CONALARM is a very simple script, that awaits receipt of a message (any
text). The alarm is sounded when a line is received (and terminates).
It may be used waiting for someone else to enter a conversational area.
CONNECT.CMD
CONNECT is a simple script to put COM-AND into auto-answer mode and
await a call. When a connection is made, the script adjusts the line
speed appropriately, and opens a chat window.
DD.CMD
DD searches the current subdirectory (and COM-AND= subdirectory) to present
a menu of dialing directories (*.DIR). Select a directory to be opened.
DELPHITN.CMD
DELPHISN.CMD
DELPHI is a simple script to dial the Delphi service (through TYMNET (TN),
or SprintNet (SN)), and initiate connection. [See note below on autologon.]
DIAL.CMD
DIAL is a script emulation of the Alt-R redial window. The number to be
dialed is NOT limited to 14 characters... and LD codes may not be used.
DIALER.CMD
DIALER is a script providing a multi-dialer. Up to 10 dialing directory
numbers may be specified. The numbers are dialed one after another until
a connection is made. The list of numbers (less the one just connected)
is saved on disk for next use.
DOORWAY.CMD
DOORWAY is a script invoking Marshall Dudley's DOORWAY (or a Doorway-like)
utility. The first statement in the file specifies the invocation of the
utility; edit it to suit your installation.
DSZDOWN.CMD
DSZDOWN is a script to invoke Chuck Forsberg's DSZ to download (it is set
to use YMODEM protocol, but may be changed)..
DSZUP.CMD
DSZDOWN is a script to invoke Chuck Forsberg's DSZ to upload (it is set
to use YMODEM protocol, but may be changed).
-------------------------------------------------------------------------------
921118 COM-AND Scripts Page 3
-------------------------------------------------------------------------------
FILEMGR.CMD
FILEMGR.DOC
FILEMGR provides useful file management functions through COM-AND. It
may be used while on-line or offline.
FINDNAME.CMD
FINDNAME searches through all dialing directory entries and all scripts
on the default drive for matching text. If a dialing entry is found, the
number is dialed. If a script is found, it is executed.
GENIE.CMD
GENIE is a simple script that dials the GEnie service (using dialing
directory entry 4), and provides a masked password prompt. [See note
below on autologon.]
HOST.CMD
HOST.SRC
HOST.DOC
HOSETUP.CMD (New) Setup script for the HOST
HOSTART.CMD (New) Restart script for the HOST and doorway
HOST provides a limited host mode for file transfers. Run the SETUP
script before use. HOST.SRC is the script with comments. HOST.CMD is
the script without comments. HOST.DOC documents the HOST, HOSETUP and
HOSTART scripts.
INDIR.CMD
INDIR reads an ASCII file (of a fixed format, documented in the script)
creating a new dialing directory file. Compatible with OUTDIR below.
KERDOWN.CMD
KERDOWN is a script to invoke Jan van der Eyjk's PCKERMIT to download.
KERMSERV.CMD
KERMSERV is a script providing KERMIT server commands for systems (such
as the SOURCE) where they're useful. It implements SEND/RECEIVE/FINISH
and LOGOUT functions.
KERUP.CMD
KERUP is a script to invoke Jan van der Eyjk's PCKERMIT to upload.
-------------------------------------------------------------------------------
921118 COM-AND Scripts Page 4
-------------------------------------------------------------------------------
LEARN.CMD
LEARN.DOC
LEARN.SRC
LEARN follows actions performed, such as dialing, responding to prompts,
and so on, and creates a script to perform the same actions. LEARN.DOC
documents the function of LEARN and its limitations.
LISTER.CMD
LISTER is a script to listing an ASCII file to the screen with pagination.
Paging (backward limit 20 pages), Home, End, and FIND <str> are supported.
MCI.CMD
MCI is a simple script to dial the MCI service (dialing directory entry
number 6), and initiate connection. [See note below on autologon.]
MDMDIAG.CMD
MDMDIAG is a diagnostic for the serial port currently opened by COM-AND.
It displays the values of various port registers for review.
MKLOGON.CMD
MKLOGON creates a LOGON file appropriate for CIS, GENIE, UNISON or PLINK
(PLINK is now defunct) scripts. MKLOGON optionally encrypts the new LOGON
file for security.
OUTDIR.CMD
OUTDIR creates an ASCII file (named DIALING.TXT, documented in the script)
from the current dialing directory file. Compatible with INDIR above.
PC-2-PC.CMD
PC-2-PC.DOC
PC-2-PC is a file transfer script for 2 PCs running COM-AND and linked
through either modem or direct wire. PC-2-PC provides a convenient
display of subdirectories on both machines. PC-2-PC.DOC documents the
script more thoroughly.
REMAP.CMD
REMAP.DOC
REMAPS.TXT
REMAP compiles a source file of keyboard remapping for COM-AND. The
REMAP.DOC describes the function and its uses. REMAPS.TXT is an ASCII
file containing sample remaps for various terminal emulations.
-------------------------------------------------------------------------------
921118 COM-AND Scripts Page 5
-------------------------------------------------------------------------------
SCRDUMP.CMD
SCRDUMP appends the current screen text (25 or 43/50 lines) to the file
COM-AND.SCR on the current directory. A top-of-form is added at the end
of the screen (to delimit multiple screens).
SETTIME.CMD
SETTIME dials the U.S. Naval Observatory, and sets the DOS clock with the
correct time. You must modify this script before use! Read comments at
the beginning of the script.
SPRINT.CMD (was TELENET.CMD originally)
SPRINT is a simple script that dials SPRINT (dialing directory entry 10)
and performs basic connect commands. It is FCALLed by other scripts,
here, and may be used alone as well.
STRIPPER.CMD
STRIPPER strips an input script file of comments and extra spaces.
STRIPPER takes a while to execute, but stripped scripts do run faster.
NOTE: CACMP has subsumed this function, performing faster and more fully.
TTY.CMD
TTY disables emulation, and disables keyboard remapping.
TYMNET.CMD
TYMNET is a simple script that dials TYMNET (dialing directory entry 9)
and performs basic connect commands. It may be FCALLed or used alone.
UARTTYPE.CMD
URGENT determines the type of UART COM-AND finds on the default port.
UNISON.CMD
UNISON is a simple script to dial the UNISON service (through SPRINT; it
uses dialing directory entry 10), and initiate connection. [See note
below on autologon.] Note: SPRINT.CMD is required.
URGENT.CMD
URGENT is a demonstration of INPUT and OUTPUT instructions in a script.
It sounds a wailing alarm. [It is CPU speed dependant.]
-------------------------------------------------------------------------------
921118 COM-AND Scripts Page 6
-------------------------------------------------------------------------------
VT100.CMD
VT100.HLP (also a script)
VT100 enables VT100 display emulation, AND creates enables a keyboard
remap emulating a VT100 keyboard. Note that the file COM-AND.RMP is
replaced. REMAPS.TXT contains the source for the remap. VT100.HLP
replaces the F10 help (if VT100.HLP is installed).
VT52.CMD
VT52.HLP (also a script)
VT52 enables VT52 display emulation, AND creates enables a keyboard
remap emulating a VT52 keyboard. Note that the file COM-AND.RMP is
replaced. REMAPS.TXT contains the source for the remap. VT52.HLP
replaces the F10 help (if VT52.HLP is installed).
XLATE.CMD
XLATE prepares in and out character translation tables for COM-AND. Please
refer to COM-AND.DOC for details of character translation in COM-AND.
-------------------------------------------------------------------------------
921118 COM-AND Scripts Page 7
-------------------------------------------------------------------------------
Script notes:
-------------------------------------------------------------------------------
As noted above, certain scripts require a dialing directory entry to be
set before the script is useful. The following scripts assume:
BIX.CMD (uses TYMNET.CMD) BIX through Tymnet
CIS.CMD Directory entry 3 CIS direct dial
DELPHITN.CMD (uses TYMNET.CMD) Delphi through Tymnet
DELPHISN.CMD (uses SPRINT.CMD) Delphi through SprintNet
GENIE.CMD Directory entry 4 GEnie direct dial
MCI.CMD Directory entry 6 MCI direct dial
UNISON.CMD (uses SPRINT.CMD) Unison through SprintNet
SPRINT.CMD Directory entry 10 Sprint (was Telenet) access
TYMNET.CMD Directory entry 9 TYMNET access
Scripts may hard code telephone numbers as well. In this collection, the
one scripts encodes a telephone number (and settings):
SETTIME.CMD Encodes U.S. Naval Observatory number
Scripts may be written to require the presence of other scripts. The
scripts BIX, DELPHIxx and UNISON all require either SPRINT.CMD or TYMNET.
The following scripts may be used as subroutines (FCALLs):
DIAL.CMD Dial a long phone number
LISTER.CMD List a file to the screen
SPRINT.CMD Connect to SprintNet (Telenet)
TYMNET.CMD Connect to Tymnet
URGENT.CMD Sound a wailing alarm
The MKLOGON script creates LOGON files for BIX, CIS, DELPHI, GENIE, MCI,
and UNISON. The BIX, CIS, DELPHI, GENIE, MCI, and UNISON scripts all all
look for an autologon script file. If found, the autologon is executed.
If not found, the ALARM is sounded. Each script looks for a certain file:
BIX.CMD looks for BIXLOGON.CMD (or .ENF)
CIS.CMD looks for CISLOGON.CMD (or .ENF)
DELPHIxx.CMD looks for DELLOGON.CMD (or .ENF)
GEnie.CMD looks for GENLOGON.CMD (or .ENF)
MCI.CMD looks for MCILOGON.CMD (or .ENF)
UNISON.CMD looks for UNILOGON.CMD (or .ENF)
The script MKLOGON creates the appropriate LOGON file, and may be used for
any of the systems above, at any time.
-------------------------------------------------------------------------------
921118 COM-AND Scripts Page 8
-------------------------------------------------------------------------------
With the exception of GENIE, the autologon file should take the form:
TRANSMIT "yourID!" ; The "!" is a carriage rtn
WAITFOR "password" ; Wait for host prompt
TRANSMIT "yourPassword!" ; The "!" is a carriage rtn
IF FCALLED FRET
The GEnie autologon is just one TRANSMIT statement:
TRANSMIT "ID,Password!"
IF FCALLED FRET
The autologon script may be created with any editor or wordprocessor cap-
able of creating an ASCII file (or non-document file). It is NOT recom-
mended that you leave files containing ID and passwords unsecured. COM-
AND may be used to encrypt the autologon file once created and tested, and
the original file put in a safe place.
COM-AND searches for script files both in the current directory and in
the subdirectory pointed to by the COM-AND= environment variable. COM-AND
also tries the name you use with the extension ".CMD" and ".ENF". Encryp-
tion is indicated within the encrypted file - not by the extension. When
an encrypted script file is encountered COM-AND pops-up a window asking
for a decrypting password. The script file is then decrypted as it is
executed.
--------------------------------------------------------------------------
The following steps might be followed to create an autologon script file.
1) Create the file as named above with the appropriate statements on the
subdirectory you've placed COM-AND and its scripts.
2) Load COM-AND, and using F2, execute the outer script (CIS, GEnie, PLINK
or UNISON). Assure yourself that the autologon script works correctly.
3) After logging off, use Alt-N in COM-AND to encrypt the script. For
example, the file CISLOGON.CMD could be encrypted to CISLOGON.ENF (the
name is important - the extension is not). Remember the password you
used to encrypt the file! Either encryption method may be used.
4) After exiting COM-AND (or shelling to DOS), delete the original auto-
logon file (in the example above, delete be CISLOGON.CMD).